package JLB_Chapter_05;
// StringEndWith
public class code_05_11 {
    public static void main(String[] args) {
        String str1 = "你说完了吗?";
        String str2 = "我说完了。";
        boolean flag1 = str1.endsWith("。");
        boolean flag2 = str2.endsWith("。");
        System.out.println(flag1);
        System.out.println(flag2);
    }
}
